package fr.andromede.test.obj;

import fr.andromede.annotations.Id;
import fr.andromede.annotations.Persistance;
import fr.andromede.constantes.Strategy;

@Persistance
public class CharAndBoolean {

    @Id(Strategy.AUTO)
    private int       id;
    private char      myPrimitiveChar;
    private Character myComplexCharacter;
    private boolean   myPrimitiveBoolean;
    private Boolean   myComplexBoolean;
    private Short     myComplexShort;
    private short     myPrimitiveShort;
    private int       myPrimitiveInteger;
    private Integer   myComplexInteger;
    private byte      myPrimitiveByte;
    private Byte      myComplexByte;

    /**
     * @return the myPrimitiveByte
     */
    public byte getMyPrimitiveByte () {
        return myPrimitiveByte;
    }

    /**
     * @param myPrimitiveByte
     *            the myPrimitiveByte to set
     */
    public void setMyPrimitiveByte ( byte myPrimitiveByte ) {
        this.myPrimitiveByte = myPrimitiveByte;
    }

    /**
     * @return the myComplexByte
     */
    public Byte getMyComplexByte () {
        return myComplexByte;
    }

    /**
     * @param myComplexByte
     *            the myComplexByte to set
     */
    public void setMyComplexByte ( Byte myComplexByte ) {
        this.myComplexByte = myComplexByte;
    }

    /**
     * @return the myPrimitiveInteger
     */
    public int getMyPrimitiveInteger () {
        return myPrimitiveInteger;
    }

    /**
     * @param myPrimitiveInteger
     *            the myPrimitiveInteger to set
     */
    public void setMyPrimitiveInteger ( int myPrimitiveInteger ) {
        this.myPrimitiveInteger = myPrimitiveInteger;
    }

    /**
     * @return the myComplexInteger
     */
    public Integer getMyComplexInteger () {
        return myComplexInteger;
    }

    /**
     * @param myComplexInteger
     *            the myComplexInteger to set
     */
    public void setMyComplexInteger ( Integer myComplexInteger ) {
        this.myComplexInteger = myComplexInteger;
    }

    public CharAndBoolean() {
        super();
    }


    /**
     * @return the myComplexShort
     */
    public Short getMyComplexShort () {
        return myComplexShort;
    }

    /**
     * @param myComplexShort
     *            the myComplexShort to set
     */
    public void setMyComplexShort ( Short myComplexShort ) {
        this.myComplexShort = myComplexShort;
    }

    /**
     * @return the myPrimitiveShort
     */
    public short getMyPrimitiveShort () {
        return myPrimitiveShort;
    }

    /**
     * @param myPrimitiveShort
     *            the myPrimitiveShort to set
     */
    public void setMyPrimitiveShort ( short myPrimitiveShort ) {
        this.myPrimitiveShort = myPrimitiveShort;
    }

    /**
     * Getter de id
     * 
     * @return the id
     */
    public int getId () {
        return id;
    }

    /**
     * 
     * Setter de id
     * 
     * @param id
     *            the id to set
     */
    public void setId ( int id ) {
        this.id = id;
    }

    /**
     * Getter de myPrimitiveChar
     * 
     * @return the myPrimitiveChar
     */
    public char getMyPrimitiveChar () {
        return myPrimitiveChar;
    }

    /**
     * 
     * Setter de myPrimitiveChar
     * 
     * @param myPrimitiveChar
     *            the myPrimitiveChar to set
     */
    public void setMyPrimitiveChar ( char myPrimitiveChar ) {
        this.myPrimitiveChar = myPrimitiveChar;
    }

    /**
     * Getter de myComplexCharacter
     * 
     * @return the myComplexCharacter
     */
    public Character getMyComplexCharacter () {
        return myComplexCharacter;
    }

    /**
     * 
     * Setter de myComplexCharacter
     * 
     * @param myComplexCharacter
     *            the myComplexCharacter to set
     */
    public void setMyComplexCharacter ( Character myComplexCharacter ) {
        this.myComplexCharacter = myComplexCharacter;
    }

    /**
     * Getter de myPrimitiveBoolean
     * 
     * @return the myPrimitiveBoolean
     */
    public boolean isMyPrimitiveBoolean () {
        return myPrimitiveBoolean;
    }

    /**
     * 
     * Setter de myPrimitiveBoolean
     * 
     * @param myPrimitiveBoolean
     *            the myPrimitiveBoolean to set
     */
    public void setMyPrimitiveBoolean ( boolean myPrimitiveBoolean ) {
        this.myPrimitiveBoolean = myPrimitiveBoolean;
    }

    /**
     * Getter de myComplexBoolean
     * 
     * @return the myComplexBoolean
     */
    public Boolean getMyComplexBoolean () {
        return myComplexBoolean;
    }

    /**
     * 
     * Setter de myComplexBoolean
     * 
     * @param myComplexBoolean
     *            the myComplexBoolean to set
     */
    public void setMyComplexBoolean ( Boolean myComplexBoolean ) {
        this.myComplexBoolean = myComplexBoolean;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString () {
        return "CharAndBoolean [id=" + id + ", myPrimitiveChar=" + myPrimitiveChar + ", myComplexCharacter=" + myComplexCharacter
                + ", myPrimitiveBoolean=" + myPrimitiveBoolean + ", myComplexBoolean=" + myComplexBoolean + ", myComplexShort="
                + myComplexShort + ", myPrimitiveShort=" + myPrimitiveShort + ", myPrimitiveInteger=" + myPrimitiveInteger
                + ", myComplexInteger=" + myComplexInteger + ", myPrimitiveByte=" + myPrimitiveByte + ", myComplexByte=" + myComplexByte
                + "]";
    }

}
